<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<MRGSP.SurveyMaster.Infra.Dto.StartSurveyInput>" MasterPageFile="~/Views/Shared/Site.Master" %>
<%@ Import Namespace="MRGSP.SurveyMaster.Core.Model" %>
<%@ Import Namespace="MRGSP.SurveyMaster.Localization" %>
<%@ Import Namespace="MRGSP.SurveyMaster.WebUI.Helpers" %>
<asp:Content runat="server" ID="Content" ContentPlaceHolderID="TitleContent"></asp:Content>
<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="MainContent">
<%
    var s = ViewData["survey"] as Survey;
     %>
     <p class="surveyName"><%=s.Name %></p>
     <div>
     <%=s.Header %>
     </div>
<p><%=MUI.mandatory_questions %>
</p>
<br />
    <%=Html.ValidationSummary() %>
    <br />
    <% using (Html.BeginForm())
       {
    %>
    <%=Html.HiddenFor(o => o.SurveyId) %>
    <%=Html.Survey(Model.Questions)%>

    <input type="submit" value="submit" />
    <%
        }%>

                 <div>
     <%=s.Footer %>
     </div>
     <script type="text/javascript">
         $(function () {
             setInterval(function () {
                 $.get('<%=Url.Action("Index","Ping") %>');
             }, 600000);
         });
     </script>
</asp:Content>
